#ifndef __CHARACTERENCODING_H__
#define __CHARACTERENCODING_H__

//#include <stdio.h>

#ifdef __cplusplus
extern "C" {
#endif

int Utf8ToGb2312(char *sOut, int iMaxOutLen, const char *sIn, int iInLen);
int Gb2312ToUtf8(char *sOut, int iMaxOutLen, const char *sIn, int iInLen);
int CharacterencodingTransfTest(void);

#ifdef __cplusplus
}
#endif

#endif

